﻿using Microsoft.Xna.Framework;
using System;

namespace SunrayEngine.Maps
{
    [Serializable]
    /// <summary>
    /// Used to store pixel-wise information for the Map class
    /// </summary>
    public struct PixelInfo
    {
        #region fields
        /// <summary>
        /// The X-Axis coordinate of the pixel
        /// </summary>
        public int X;

        /// <summary>
        /// The Y-Axis coordinate of the pixel
        /// </summary>
        public int Y;

        /// <summary>
        /// The pixels color information
        /// </summary>
        public Color Color;

        /// <summary>
        /// can the pixel be walked?
        /// </summary>
        public bool WalkAbel;
        #endregion
    }
}
